package com.gd.coreservice.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Orders对象", description="")
public class OrdersVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "oid", type = IdType.ID_WORKER_STR)
    private String oid;

    private String buyerId;

    private String sellerId;

    private String gid;

    private BigDecimal price;

    private Date createdAt;

    private Date updatedAt;

    @TableLogic
    private Boolean isDeleted;

    private String itemName;

    private String photoUrl;

    private String description;

    private String sellerUsername;

    private String username;



}
